public class MainTest {
    public static void main(String[] args) {
        Solution s = new Solution();
        System.out.println(s.reverseWords("no zuo no dei    so"));
        System.out.println(s.reverseWords("  hello world  "));
    }
}
